var previousWindowOnLoadHandler = window.onload;

function windowOnLoadHandler(event) {
  callPreviousHandlerIfDefined();
  setUpWindow();
}

function callPreviousHandlerIfDefined() {
  previousWindowOnLoadHandler && previousWindowOnLoadHandler();
}

window.onload = windowOnLoadHandler;
